package com.itheima.advance.xml.domain;

/**
 * 目的：后期创建学生对象，通过学生对象封装我们从xml文件中解析出来的数据
 */
public class Student {

    private String stuId ;      // 学生的id

    private String stuName ;    // 学生的姓名

    private String stuAge ;     // 学生的年龄

    private String stuAddress ; // 学生的住址

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuAge() {
        return stuAge;
    }

    public void setStuAge(String stuAge) {
        this.stuAge = stuAge;
    }

    public String getStuAddress() {
        return stuAddress;
    }

    public void setStuAddress(String stuAddress) {
        this.stuAddress = stuAddress;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuId='" + stuId + '\'' +
                ", stuName='" + stuName + '\'' +
                ", stuAge='" + stuAge + '\'' +
                ", stuAddress='" + stuAddress + '\'' +
                '}';
    }
}
